package com.aiyige.model.moment.entity;

import com.aiyige.model.moment.backup.CourseBackup;
import com.aiyige.model.moment.backup.DetailBackup;

import java.util.List;

public class TrainingCard {

    private String id;

    /**
     * 价格，单位：元
     */
    private Double price;
    /**
     * 原价，单位：元
     */
    private Double originPrice;
    /**
     * 分成比例
     */
    private Double divisionProportion;
    /**
     * 卡类型：rechargeable_card充值卡，measured_card计次，time_card计时卡
     */
    private String cardType;
    /**
     * 开卡算法，immediate立即生效
     */
    private String takeEffectType;
    /**
     * 有效时长
     */
    private Integer takeEffectPeriod;
    /**
     * 有效时长单位：year,month,day
     */
    private String takeEffectPeriodUnit;
    /**
     * 图文详情
     */

    private DetailBackup detail;
    /**
     * 图文说明转换为HTML
     */
    private String detailHtml;
    /**
     * 图文说明是否可在APP上编辑
     */
    private Boolean detailCanEditOnApp;
    /**
     * 封面集（包括图片和视频）
     */
    private List<Content> coverSet;
    /**
     * 可上的课程列表
     */
    private List<CourseBackup> bindCourseBackup;
    /**
     * 计次卡使用次数
     */
    private Integer usageCount;

    public Integer getUsageCount() {
        return usageCount;
    }

    public void setUsageCount(Integer usageCount) {
        this.usageCount = usageCount;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getOriginPrice() {
        return originPrice;
    }

    public void setOriginPrice(Double originPrice) {
        this.originPrice = originPrice;
    }

    public Double getDivisionProportion() {
        return divisionProportion;
    }

    public void setDivisionProportion(Double divisionProportion) {
        this.divisionProportion = divisionProportion;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getTakeEffectType() {
        return takeEffectType;
    }

    public void setTakeEffectType(String takeEffectType) {
        this.takeEffectType = takeEffectType;
    }

    public Integer getTakeEffectPeriod() {
        return takeEffectPeriod;
    }

    public void setTakeEffectPeriod(Integer takeEffectPeriod) {
        this.takeEffectPeriod = takeEffectPeriod;
    }

    public String getTakeEffectPeriodUnit() {
        return takeEffectPeriodUnit;
    }

    public void setTakeEffectPeriodUnit(String takeEffectPeriodUnit) {
        this.takeEffectPeriodUnit = takeEffectPeriodUnit;
    }

    public DetailBackup getDetail() {
        return detail;
    }

    public void setDetail(DetailBackup detail) {
        this.detail = detail;
    }

    public String getDetailHtml() {
        return detailHtml;
    }

    public void setDetailHtml(String detailHtml) {
        this.detailHtml = detailHtml;
    }

    public Boolean getDetailCanEditOnApp() {
        return detailCanEditOnApp;
    }

    public void setDetailCanEditOnApp(Boolean detailCanEditOnApp) {
        this.detailCanEditOnApp = detailCanEditOnApp;
    }

    public List<Content> getCoverSet() {
        return coverSet;
    }

    public void setCoverSet(List<Content> coverSet) {
        this.coverSet = coverSet;
    }

    public List<CourseBackup> getBindCourseBackup() {
        return bindCourseBackup;
    }

    public void setBindCourseBackup(List<CourseBackup> bindCourseBackup) {
        this.bindCourseBackup = bindCourseBackup;
    }
}
